package com.mystudy.management.usermanagement.laytablemessageconvert;


import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import org.springframework.stereotype.Component;

import java.util.Map;

//负责各种echart表格接口数据处理的工具类
@Component
public class EchartDialogMessageConvert {

    //线性表数据处理
    public JSONObject lineChartConverter(Map<String,Integer> resultMap){
        JSONObject resultJSONObject = new JSONObject();
        resultJSONObject.putAll(resultMap);
        System.out.println(resultJSONObject);
        return resultJSONObject;
    }
}
